package com.ruoyi.service;

import java.math.BigDecimal;
import java.util.List;
import com.ruoyi.domain.ParkingCardOrder;
import com.ruoyi.dto.WeChatRefundDto;

/**
 * 停车卡订单Service接口
 * 
 * @author dongdong
 * @date 2025-09-09
 */
public interface IParkingCardOrderService 
{
    /**
     * 查询停车卡订单
     * 
     * @param id 停车卡订单主键
     * @return 停车卡订单
     */
    public ParkingCardOrder selectParkingCardOrderById(Long id);

    /**
     * 查询停车卡订单列表
     * 
     * @param parkingCardOrder 停车卡订单
     * @return 停车卡订单集合
     */
    public List<ParkingCardOrder> selectParkingCardOrderList(ParkingCardOrder parkingCardOrder);

    /**
     * 新增停车卡订单
     * 
     * @param parkingCardOrder 停车卡订单
     * @return 结果
     */
    public int insertParkingCardOrder(ParkingCardOrder parkingCardOrder);

    /**
     * 修改停车卡订单
     * 
     * @param parkingCardOrder 停车卡订单
     * @return 结果
     */
    public int updateParkingCardOrder(ParkingCardOrder parkingCardOrder);

    /**
     * 批量删除停车卡订单
     * 
     * @param ids 需要删除的停车卡订单主键集合
     * @return 结果
     */
    public int deleteParkingCardOrderByIds(Long[] ids);

    /**
     * 删除停车卡订单信息
     * 
     * @param id 停车卡订单主键
     * @return 结果
     */
    public int deleteParkingCardOrderById(Long id);

    int refund(WeChatRefundDto weChatRefundDto);
}
